package com.cw.demo.factory.method;

import com.cw.demo.factory.Sender;
import com.cw.demo.factory.normal.SmsSender;

/**
 * 工厂方法模式
 *
 * @author chenw
 * @date 2021/1/4
 */
public class SmsMethodFactory implements Provider{

    @Override
    public Sender sender() {
        return new SmsSender();
    }
}
